
package com.kugou.game.sdk.ui.dialog;

import com.kugou.game.sdk.utils.Rx;

import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

/**
 * 描述:礼包对话框
 * 
 * @author liux
 * @since 2014-8-19 下午05:17:25
 */
public class ExitGiftBagDialog extends AbsDialog {

    private TextView mMessage;

    public ExitGiftBagDialog(Activity activity) {
        super(activity);
    }

    @Override
    protected View createContentView() {
        LayoutInflater inflater = (LayoutInflater) getContext().getSystemService(
                Context.LAYOUT_INFLATER_SERVICE);
        View contentView = inflater.inflate(
                Rx.layout.kg_exit_gift_bag_dialog,
                null);
        mMessage = (TextView) contentView.findViewById(
                Rx.id.kg_message);
        return contentView;
    }

    public void setMessage(String msg) {
        mMessage.setText(msg);
    }
}
